package com.ssy.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssy.system.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author ssy
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    void deleteRoleUserByRid(Integer userId);

    void insertRoleUser(@Param("userId") Integer userId, @Param("id") Integer id);

}
